<%@page import="models.Area"%>
<%@page import="models.SolutionSubmission"%>
<%@page import="models.Location"%>
<%@page import="models.Customer"%>
<%@ page import="java.util.*, java.text.*" %>
<%@ page import="com.googlecode.objectify.Objectify, com.googlecode.objectify.ObjectifyService, com.googlecode.objectify.Query" %>

<% 

Objectify ofy = ObjectifyService.begin();

%>

<!-- content -->
<!--<a id="mainContent" name="mainContent"/>-->
<div id="lotusContent">
<!--<h1>Savvy Solutions</h1>
<div class="lotusDetails">The Global Operations Excellence collection of Savvy Solutions resulting in cost savings for the company</div>-->
<table>
<tr>
<td colspan="3"><b>Filter By : </b></td>
</tr>
<tr>
<td></td>
<td> Customer : </td><td>
<input name="%%Surrogate_cmbCustomer" type="hidden" value="1">
<select name="cmbCustomer" id="cmbCustomer" class="text-edit">
<option>--Select Customer--

<% 

Query<Customer> qqq = ofy.query(Customer.class).order("custName");

// java.util.Date nowDate = new java.util.Date();  // = '2006' java.sql.Date nowDate2 = new java.sql.Date((new Date()).getTime()); String currentYear2 = formatNowYear.format(nowDate2); // = '2006'
for ( Customer f : qqq.fetch() ) {
	out.println("<option>"+ f.getCustName());
}

%>

</select>
 </td><td></td>
</tr>
<tr><td colspan="3">&nbsp;</td><td></td></tr>
<tr>
<td></td>
<td> Primary Benefit : </td><td>
<input name="%%Surrogate_chkBenefits" type="hidden" value="1">
<select name="chkBenefits" id="chkBenefits" class="text-edit">
<option>--Select Primary Benefit--
<option>Safety
<option>Quality
<option>Order Lead Time
<option>Customer satisfaction
<option>Employee engagement</select>
  </td><td></td>
</tr>
<tr><td colspan="3">&nbsp;</td><td></td></tr>
<tr>
<td></td>
<td> Process : </td><td>
<input name="%%Surrogate_cmbProcessarea" type="hidden" value="1">
<select name="cmbProcessarea" id="cmbProcessarea" class="text-edit">
<option>--Select Process Area--

<% 

Query<Area> qq = ofy.query(Area.class).order("areaName");

// java.util.Date nowDate = new java.util.Date();  // = '2006' java.sql.Date nowDate2 = new java.sql.Date((new Date()).getTime()); String currentYear2 = formatNowYear.format(nowDate2); // = '2006'
for ( Area f : qq.fetch() ) {
	out.println("<option>"+ f.getAreaName());
}

%>

</select>
 </td><td> <div class="lotusActionBar lotusBtnContainer"><span class="lotusBtn lotusBtnAction lotusLeft">
<a href="javascript:Searchdocs()"><b>Show</b></a>
</span></div></td>
</tr>
</table>
<br>
<div class="lotusActionBar lotusBtnContainer">
<span class="lotusBtn lotusBtnAction lotusLeft">
<a href="javascript:Viewall()"><b>Clear Filter</b></a>
</span>
</div>
<br>
<br>
<div class="lotusPaging">
<div id="pager" class="pager"  align="left">
</div>
</div>
<div id='view' >
<b>Please wait...<img src="/img/ajax-loader.gif">...while your request is processed.</b>
</div>
<div id="srchResult" style="display:none">
<b>Please wait...<img src="/img/ajax-loader.gif">...while your request is processed.</b>
</div>
<br>
<div class="lotusPaging">
</div>
<br>
<div class="lotusActionBar lotusBtnContainer">
<span class="lotusBtn lotusBtnAction lotusLeft">
<a href="javascript:Viewall()"><b>Clear Filter</b></a>
</span>
</div> <script defer="defer"> 
	$(document).ready(function() 
    { 
        $("#insured_list")
		.tablesorter({widthFixed: true, widgets: ['zebra']})
		.tablesorterPager({container: $("#pager")}); 
    } 
	); 
</script>
    
</div>
<!--End of Lotus Content-->
</div>
<!--End of Lotus Main-->
</div>
<!-- Footer gets moved to within Frame div in weblog.vm so closing tags need to go in weblog.vm - MTodd November 1 2007 </body> </html> -->
</div>
</div>
